#include <stdio.h>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_mixer.h>
#include <assert.h>

void RempSol(int solakari[100][100], int Nummap)
{
int i,j;
for (i=0;i<=6;i++)
{
for (j=0;j<=6;j++)
{
solakari[i][j]=99;
}
}
if (Nummap==1)
{
solakari[2][0]=5;
solakari[6][0]=5;
solakari[5][1]=5;
solakari[0][2]=5;
solakari[6][2]=5;
solakari[4][3]=5;
solakari[3][4]=5;
solakari[1][4]=5;
solakari[6][4]=5;
solakari[4][5]=5;
solakari[2][6]=5;

solakari[1][0]=98; // carreau noir vide => 98
solakari[3][0]=98;
solakari[6][1]=3;
solakari[2][2]=98;
solakari[4][2]=98;
solakari[0][3]=1;
solakari[6][3]=2;
solakari[2][4]=98;
solakari[4][4]=3;
solakari[0][5]=0;
solakari[3][6]=98;
solakari[5][6]=98;
}
else if (Nummap==2)
{
solakari[3][0]=5;
solakari[2][1]=5;
solakari[1][2]=5;
solakari[2][3]=5;
solakari[5][3]=5;
solakari[0][4]=5;
solakari[3][4]=5;
solakari[6][4]=5;
solakari[2][5]=5;
solakari[0][6]=5;

solakari[1][0]=98;
solakari[6][1]=0;
solakari[2][2]=3;
solakari[4][2]=0;
solakari[3][3]=98;
solakari[2][4]=3;
solakari[4][4]=98;
solakari[0][5]=2;
solakari[5][6]=0;
}
else if (Nummap==3)
{
solakari[5][0]=5;
solakari[3][1]=5;
solakari[0][2]=5;
solakari[4][3]=5;
solakari[1][4]=5;
solakari[0][5]=5;
solakari[2][6]=5;

solakari[0][0]=98;
solakari[2][0]=98;
solakari[3][0]=1;
solakari[6][0]=98;
solakari[6][2]=98;
solakari[0][3]=1;
solakari[3][3]=1;
solakari[6][3]=98;
solakari[0][4]=2;
solakari[0][6]=98;
solakari[3][6]=1;
solakari[4][6]=0;
solakari[6][6]=98;

}











}
